import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: true,
  menu: false,
  indexLabel: i18n.t('number'),
  stripe: true,
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [
    {
      label: i18n.t('shop.ioType'),
      prop: 'ioType',
      type: 'select',
      search: true,
      dicData: [
        {
          label: i18n.t('shop.pay'),
          value: 0
        }, {
          label: i18n.t('shop.income'),
          value: 1
        }
      ]
    },
    {
      label: i18n.t('shop.amountType'),
      prop: 'amountType',
      type: 'select',
      search: true,
      dicData: [
        {
          label: i18n.t('shop.amoSett'),
          value: 0
        }, {
          label: i18n.t('shop.avaStoAmo'),
          value: 1
        }, {
          label: i18n.t('shop.unavaBalance'),
          value: 2
        }, {
          label: i18n.t('shop.summAmo'),
          value: 3
        }
      ]
    },
    {
      label: i18n.t('shop.beforeAmount'),
      prop: 'beforeAmount'
    },
    {
      label: i18n.t('shop.afterAmount'),
      prop: 'afterAmount'
    },
    {
      label: i18n.t('shop.changeAomunt'),
      prop: 'changeAomunt'
    },
    {
      label: i18n.t('shop.reason'),
      prop: 'reason',
      type: 'select',
      search: true,
      searchLabelWidth: 120,
      dicData: [
        {
          label: i18n.t('shop.userPay'),
          value: 0
        }, {
          label: i18n.t('shop.userRece'),
          value: 1
        }, {
          label: i18n.t('shop.userRefund'),
          value: 2
        }, {
          label: i18n.t('shop.withApply'),
          value: 4
        }, {
          label: i18n.t('shop.withNoPass'),
          value: 5
        }, {
          label: i18n.t('shop.withPass'),
          value: 6
        }, {
          label: i18n.t('shop.succIss'),
          value: 7
        }, {
          label: i18n.t('shop.failIss'),
          value: 8
        }, {
          label: i18n.t('shop.dedAmo'),
          value: 9
        }
      ]
    },
    {
      label: i18n.t('sys.creationTime'),
      prop: 'createTime'
    }
  ]
}
